package cn.zhagzheguo.xk.model;

/**
 * 映射 admin
 * 
 * @author zhagz
 * 
 */
public class Admin {

	private int id;
	private String username;
	private String password;
	private int permissionLevel;// 权限等级

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getPermissionLevel() {
		return permissionLevel;
	}

	public void setPermissionLevel(int permissionLevel) {
		this.permissionLevel = permissionLevel;
	}

	@Override
	public String toString() {
		return "Admin [id=" + id + ", username=" + username + ", password=" + password + ", permissionLevel="
				+ permissionLevel + "]";
	}

}
